Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Serene Python
|
Posted - 2010.12.18 14:46:00 -
[1]
Edited by: Serene Python on 18/12/2010 14:55:44 Not sure if I'm the only one no this boat, but I use EM for historical data... Think you implement things like that?
p.s. I mainly used it for the movement data which, not sure how you'd implement this yourself but that's a big feature for me as well as the API for developing my own apps
|

Serene Python
|
Posted - 2010.12.18 16:33:00 -
[2]
Bugs! When I try to search something I'm being sent to pricecheck.php which results in a 404
|

Serene Python
|
Posted - 2010.12.20 23:49:00 -
[3]
Originally by: Kallahar Ah good find, search bug fixed. Thanks!
On the html-on-one-line, I code everything in PHP, so all outputted HTML is inside a print() statement, so there are no newlines. The back-end php code is very well organized, formatted, and commented :)
Kallahar
Ahh yes PHP coding... I've often had people bug me about my HTML code looking very horrid. You working on having some form of movement being implemented?
|

Serene Python
|
Posted - 2010.12.21 08:52:00 -
[4]
Originally by: Johnathan Roark
Originally by: Serene Python
Originally by: Kallahar Ah good find, search bug fixed. Thanks!
On the html-on-one-line, I code everything in PHP, so all outputted HTML is inside a print() statement, so there are no newlines. The back-end php code is very well organized, formatted, and commented :)
Kallahar
Ahh yes PHP coding... I've often had people bug me about my HTML code looking very horrid. You working on having some form of movement being implemented?
I use dwoo, makes the php and html clean, plus it makes it easier to fix the display stuff
Never heard of dwoo... I just use notepad++, my PHP code itself it typically good looking just if I got HTML it's very horrid looking typically. I prefer just typing everything rather than letting some program handle everything... Biggest pet peeve in school when we learned HTML... Final project had probably almost 1MB in useless crap being loaded/added to the code.
|

Serene Python
|
Posted - 2010.12.24 08:38:00 -
[5]
Originally by: Kallahar I haven't really played the markets, is having historical data needed? Is it different than going in-game and looking at the market "price history" or is it just wanting that data from a different region? Kallahar
In terms of what I use it for... YES! One of my apps uses movement/price history grabbed from the API. Then there's people who either can't login to check prices or don't want to start eve up to just check prices. I've also been in that boat because I didn't want to login/load up eve.
|

Serene Python
|
Posted - 2010.12.25 19:42:00 -
[6]
Originally by: Kallahar I got api/item.xml and api/item.json working, but I'm not sure how to calculate the following:
- median - kurtosis - skew - variance - standard_deviation - simulated
If anyone knows how to calculate these in mysql/php, please let me know and I'll add them in.
Kallahar
Those all sound all to familiar from math class...
Median (The middle value?) would be something like
$query = mysql_query("SELECT * FROM eve_item_prices WHERE regionID = $_GET[regionID]") $rows = mysql_num_rows($query) $median = $rows/2
Don't go line for line with that just a rough guess, taking the total number rows in a region and just dividing by 2 to get the middle row. Just got $query[$median] to get the middle value of the prices. If you have an odd number of rows then just round the $median price.
Merry Christmas!
|

Serene Python
|
Posted - 2010.12.25 23:19:00 -
[7]
http://php.net/manual/en/function.stats-standard-deviation.php
Can't actually code... PHP has some configuration issue I can't be bothered to fix right now
|

Serene Python
|
Posted - 2010.12.27 08:12:00 -
[8]
Edited by: Serene Python on 27/12/2010 08:11:54
Originally by: Kallahar Okay, got median and standard deviation added to the item api, I'll have to figure out how to add the pecl stats extensions to php to get kurtosis and the others working.
For the HTTP callback api, I added documentation for it, just click of "developers".
I'll be adding a simple "what's the "correct" price for an item soon, it will be the best-guess price you could buy/sell an item for in Jita, that should be the price everyone uses as "the price".
Kallahar
Do you any intention of putting in the historical movement/historical prices?
|

Serene Python
|
Posted - 2011.01.06 01:30:00 -
[9]
Originally by: Kallahar
What's the most important API calls people want completed first?
I'd really like to see movement of an item in a region
|

Serene Python
|
Posted - 2011.01.11 10:59:00 -
[10]
Originally by: Kallahar **** HISTORY ADDED **** Much requested, I finally got history added. Here's the quirk, people running the uploader have to have it on the price history tab in order for it to upload, so I've got all of The Forge done, but other regions will take a while to get data.
see http://eve-marketdata.com/developers/item_history.php for info, note that it's *not* eve-marketdata compatible because I forgot to save their formatting before they closed... heh.
Kallahar
Nice to see that movement finally made it in. Thanks
|
|
|